package com.company.cloud.page.modules.mgr.controller.req;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.common.constant.BaseConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class PageConfigSaveParam extends BaseParam {


    @ApiModelProperty(value = "页面编号")
    private String pageNo;

    @ApiModelProperty(value = "页面位置")
    private String pagePositionNo;

    @ApiModelProperty(value = "公司编号")
    private String companyNo;

    @ApiModelProperty(value = "是否模板",required = true)
    @NotEmpty(message = "是否模板不能为空")
    private String isTemplate= BaseConstant.YNEnum.NO.getCode();


    @ApiModelProperty(value = "模板价格")
    private BigDecimal templatePrice=BigDecimal.ZERO;


    @ApiModelProperty(value = "页面名称",required = true)
    @NotEmpty(message = "页面名称不能为空")
    private String pageName;


    @ApiModelProperty(value = "页面描述")
    private String pageRemark;


    @ApiModelProperty(value = "页面分类")
    private String pageType;


    @ApiModelProperty(value = "页面内容",required = true)
    @NotEmpty(message = "页面内容不能为空")
    private String content;


    @ApiModelProperty(value = "是否草稿",required = true)
    @NotEmpty(message = "是否草稿不能为空")
    private String isDraft= BaseConstant.YNEnum.YES.getCode();


    @ApiModelProperty(value = "分享样式")
    private String shareStyle;


    @ApiModelProperty(value = "分享标题")
    private String shareTitle;

    @ApiModelProperty(value = "分享描述")
    private String shareMemo;


    @ApiModelProperty(value = "分享图片")
    private String shareImg;

    @ApiModelProperty(value = "上下架状态",required = true)
    @NotEmpty(message = "上下架状态不能为空")
    private String state= BaseConstant.YNEnum.NO.getCode();

    @ApiModelProperty(value = "页面样式")
    private String pageStyle;

    @ApiModelProperty(value = "页面权限分类")
    private String pageAuthType;





}
